cars.falcon.top_speed reads the top_speed of the row falcon in the table cars - the same as db_get, written with dots.
var s = cars.falcon.top_speed;
cars.falcon.fuel = 3;Table, row, column, joined with dots. It works anywhere a value works, and on the left of =, +=, -= and the rest for a varying column.
The column name is only a column right after a table and a row. If one of your objects has a variable called top_speed, writing top_speed on its own is still that variable.
The dots can only carry names made of letters, digits and _. A row called red car has to be read the long way:
var s = db_get(cars, "red car", top_speed);If you write cars.red_car.top_speed by mistake, the message says so and shows the way.
cars.falcon on its own is a row, not a value, and the game says so. Name a column too: cars.falcon.top_speed.
The table, row and column are looked up when the game is built, not while it runs. That is why reading a fixed column costs nothing, and why the row is written out in your code and cannot come from a variable.